<template>
	<view>
		<view @tap="change">上传</view>
	</view>
</template>
<script>
export default {
	data() {
		return {
			myData:{
				id:777
			}
		}
	},
	onLoad:function(){
		this.myData = 9
		//console.log(uni.getStorageSync('printList'))
	},
	watch:{
		myData:function(oldValue,newValue){
			console.log('----oldValue'+oldValue)
			console.log('----newValue'+newValue)
		}
	},
	onShow() {
	},
	methods: {
		change:function(){
			this.myData = {
				id:9999
			}
		}
	}
}
</script>
<style>
</style>